import java.util.Scanner;

public class oneDemo {
    public static void main(String[] args){
//创建键盘录入
        Scanner sc = new Scanner(System.in);

//键盘输入
        System.out.println("请输入第一个操作数:");
        int firstNumber = sc.nextInt();
        System.out.println("请输入第二个操作数:");
        int secondNumber= sc.nextInt();

//创建对象
        one mm = new one();

//赋值
        System.out.println("加法结果:"+mm.add(firstNumber,secondNumber));
        System.out.println("减法结果:"+mm.sub(firstNumber,secondNumber));
        System.out.println("乘法结果:"+mm.mul(firstNumber,secondNumber));
        System.out.println("除法结果:"+mm.div(firstNumber,secondNumber));
    }
}

